<?php
/**
 * base class for dev
 *
 * 
 */
namespace OM\Dev;

class Dev
{
	public $data = array();

	public function __set($n,$v) { 
		$var = 'm_'.$n;
		if( !isset( $this->$var ) )
			return false;
		else
			return $this->$var = $v; 
	}
	public function __get($name) { 
		$var = 'm_'.$name;
		if( !isset( $this->$var ) )
			return false;
		else
			return $this->$var; 
	}

}
?>